package www.ym.com.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.servlet.http.PushBuilder;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 分类
 */
@Data
public class Category implements Serializable {

    public static final long serialVersionUID = 1L;

    //id值
    public Long id;

    //分类名称
    public  String categoryName;

    //类型   0 菜品分类 1 套餐分类
    public Integer type;
//    //分类名称
//    public String name;

    //特点
    public  String feature;


    @TableField(fill = FieldFill.INSERT)
    public LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    public LocalDateTime updateTime;

//    @TableField(fill = FieldFill.INSERT)
//    public Long createUser;
//
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    public Long updateUser;
}

